<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>@yield('title') - 控制台</title>
    <!-- Bootstrap -->
    <link href="http://cdn.bootcss.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
    <% HTML::style('css/style.css') %>

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div id="wrapper">

    <!-- Sidebar -->
    <!-- Sidebar -->
    <div id="sidebar-wrapper">
        <ul class="sidebar-nav clearfix" id="sidebar">
            <% HTML::nav_link('admin', '仪表盘','dashboard', '仪表盘' ) %>
            <% HTML::nav_links('admin/category', '分类', 'list', '分类' ) %>
            <% HTML::nav_links('admin/jobs', '职位', 'wrench', '职位' ) %>
            <% HTML::nav_links('admin/resumes', '简历', 'file', '简历' ) %>
            <% HTML::nav_links('admin/products', '产品', 'shopping-cart', '产品' ) %>
            <% HTML::nav_links('admin/news', '新闻', 'bullhorn', '新闻' ) %>
            <% HTML::nav_links('admin/setting', '设置', 'certificate', '设置' ) %>
            <li>
                <a id="menu-toggle" href="#" title="展开导航栏">
                    <span id="main_icon" class="glyphicon glyphicon-tasks"></span>
                </a>
            </li>
        </ul>
    </div>
    <!-- Page content -->
    <div id="page-content-wrapper">
        <!-- Keep all page content within the page-content inset div! -->
        <div class="page-content inset">
            <div class="row">
                <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
                    <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <a class="navbar-brand" href="#" title="展开导航栏">
                            万航实业招聘管理 <sup>beta</sup>
                        </a>
                    </div>

                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse">
                        <ul class="nav navbar-nav navbar-right">
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    您好，<% Auth::user()->username %>
                                </a>
                                <ul class="dropdown-menu">
                                    <li>
                                        <a href="<% url('logout') %>">
                                            <span class="glyphicon glyphicon-off"></span>
                                            退出登陆
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </nav>
                @yield('content')
            </div>
        </div>
    </div>
</div>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<% HTML::script('lib/ckeditor/ckeditor.js') %>
<% HTML::script('js/index.js') %>
</body>
</html>
 cd